package org.mango.mapper;

import java.util.List;
import java.util.Map;

import org.mango.bean.Tag;

public interface TagMapper {
    int deleteByPrimaryKey(String id);

    int insert(Tag record);

    Tag selectByPrimaryKey(String id);

    List<Tag> selectAll(Map<String, Object> map);

    int updateByPrimaryKey(Tag record);

    int uniqueName(Map<String,Object> map);

    int countAll(Map<String, Object> inmap);
}